Source code :: Plasma position.php

[Return]
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
##!/usr/bin/python2
## -*- coding: utf-8 -*-



<%page args="shot, page" />

<%

    from pygolem_lite.modules import make_config, get_page_paths, make_image
    from  pygolem_lite import Shot
    import re
    page_path, base_path, page  = get_page_paths(shot, page)
%>

<a href="main.py">[Source - main.py]</a><br/>
<a href="PlasmaPosition.py">[Source - PlasmaPosition.py]</a><br/>
<a href="MagFieldCalc.py">[Source - MagFieldCalc.py]</a><br/>
<a href="MagFieldProfileGen.py">[Source - MagFieldProfileGen.py]</a><br/>


% if Shot(shot)['plasma']:
	${make_image("graphs/plasma_position" , "Plasma position")}
	${make_image("graphs/plasma_position_polar" , "Plasma polar position")}

	${make_image("graphs/plasma_radius" , "Plasma radius")}
	${make_image("graphs/residuum" , "Residuum")}
	
	<?php
	    if (file_exists("animation.wmv"))
	    {
		echo "<h4> Animation of the poloidal magnetic field</h4>";

		echo " <a href='animation.wmv'>[animation.wmv]</a>";
	    }
	?>
	${Shot(shot).get_pygolem_list(['plasma_position_r', 'plasma_position_z', 'plasma_radius', 'plasma_position:reliability'])}

%else:
	<h2>No plasma</h2>
%endif

Navigation